﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.WarehouseManage.RelocationServices.Dto
{
    public class RelocationDetailDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 移库单号
        /// </summary>
        [MaxLength(30)]
        public string? RelocationCode { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(20)]
        public string? ProductCode { get; set; }
        /// <summary>
        /// 产品名称 
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public int UnitId { get; set; }
        public string? UnitName { get; set; }
        public string? Specs { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 移库数量
        /// </summary>
        public int BuyNumber { get; set; }
        /// <summary>
        /// 原仓库Id
        /// </summary>
        public int WarehouseId { get; set; }
        public string? OldWarehouseName { get; set; }
        /// <summary>
        /// 原库位Id
        /// </summary>
        public int OriginallocationId { get; set; }
        public string? OldLocationName { get; set; }
        /// <summary>
        /// 移入仓库Id
        /// </summary>
        public int MoveNewWareHouseId { get; set; }
        public string? NewWarehouseName { get; set; }
        /// <summary>
        /// 移入库位Id
        /// </summary>
        public int MoveLocationId { get; set; }
        public string? NewLocationName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string? Remarks { get; set; } = "无";
    }
}
